﻿<%@ Page Title="" Language="C#" MasterPageFile="MIOS.master" AutoEventWireup="true" CodeFile="GoodDetail.aspx.cs" Inherits="Gooddetail" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style143
        {
            width: 117px;
        }
        .style144
        {
            width: 155px;
        }
        .style145
        {
            width: 191px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <p>
        <table style="width:100%; color:#CC0000;">
            <tr>
                <td class="style143" rowspan="5">
                    <asp:Image ID="Img" runat="server" Width="100px" ImageUrl="~/Img/violin.jpg" />
                </td>
                <td align=right class="style144">
                    乐器名称:</td>
                <td>
                    <asp:Label ID="lbname" runat="server" Text="Label"></asp:Label>
                </td>
            </tr>
            <tr>
                <td align=right class="style144">
                    销售价格:</td>
                <td>
                    <asp:Label ID="lbPrice" runat="server" Text="Label"></asp:Label>
                </td>
            </tr>
            <tr>
                <td align=right class="style144">
                    上架日期:</td>
                <td>
                    <asp:Label ID="lbDate" runat="server" Text="Label"></asp:Label>
                </td>
            </tr>
            <tr>
                <td align=right class="style144">
                    试听:</td>
                <td>
                    <asp:ImageButton ID="imgbListen" runat="server" Width="20px" />
                </td>
            </tr>
            <tr>
                <td align=right class="style144">
                    &nbsp;</td>
                <td>
                    <asp:Button ID="btnAddgood" runat="server" onclick="btnAddgood_Click" Text="加入购物车" 
                        Width="75px" />
                </td>
            </tr>
        </table>
    </p>
    <br />
    乐器简介:<br />
    <asp:Label ID="lbDescription" runat="server" Text="Label"></asp:Label>
    <br />
    <br />
    评论:
    <asp:ListView ID="lvComment" runat="server">
    <LayoutTemplate>
        <table cellpadding="2" runat="server" id="tblInstruments" style="width:600px">
        <tr runat="server" id="itemPlaceholder"></tr>
        </table>
    </LayoutTemplate>
    <ItemTemplate>
        <tr id="row" runat="server">
        <td valign="top">
            <asp:Label ID="UserID" runat="server" Font-Size="12px" ForeColor="#BBBBBB" Text='<%#Eval("userName") %>' />
            <asp:Label ID="Label1" runat="server" Font-Size="12px" ForeColor="#BBBBBB" Text="发表于" />
            <asp:Label ID="createTime" runat="server" Font-Size="12px" ForeColor="#BBBBBB" Text='<%#Eval("createTime") %>' />
        </td>
        </tr>
        <tr>
            <td>
                <hr />
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="content" runat="server" Text='<%#Eval("content") %>' />
            </td>
        </tr>
        <tr>
            <td>
                <br />
            </td>
        </tr>
    </ItemTemplate>
    <EmptyDataTemplate>暂时没有评论。</EmptyDataTemplate>
    </asp:ListView>
    <br />
    <br />
    我要评论:<br />
    <asp:TextBox ID="TextBox1" runat="server" Height="123px" TextMode="MultiLine" 
        Width="449px"></asp:TextBox>
    <br />
    <table style="width: 91%;">
        <tr>
            <td>
                &nbsp;</td>
            <td class="style145" align=right>
                <asp:Button ID="btnComment" runat="server" Text="评论" onclick="btnComment_Click" 
                    Width="58px" />
            </td>
        </tr>
    </table>
</asp:Content>

